package com.qhs.sys.service.impl;


import com.qhs.sys.mapper.DictItemInfoMapper;
import com.qhs.sys.entity.DictItemInfo;
import com.qhs.sys.service.DictItemInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2016/11/10 0010.
 */
@Service
public class DictItemInfoServiceImpl implements DictItemInfoService {
    @Autowired
    private DictItemInfoMapper dictItemInfoMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return dictItemInfoMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert( DictItemInfo record) {
        return dictItemInfoMapper.insert(record);
    }

    @Override
    public int insertSelective( DictItemInfo record) {
        return dictItemInfoMapper.insertSelective(record);
    }

    @Override
    public  DictItemInfo selectByPrimaryKey(Long id) {
        return dictItemInfoMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(DictItemInfo record) {
        return dictItemInfoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(DictItemInfo record) {
        return dictItemInfoMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<DictItemInfo> findDictItemInfoList(DictItemInfo dictItemInfo) {
        return dictItemInfoMapper.findDictItemInfoList(dictItemInfo);
    }

}
